home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Game-Power
/
Amiga Game-Power.iso
/
pd mix ii
/
rot
/
terrain_3-d
/
poster
< prev
next >
Wrap
Text File
|
1994-05-20
|
3KB
|
54 lines
Article 6694 of comp.sys.amiga:
Path: mcdsun!noao!hao!hull
From: hull@hao.UCAR.EDU (Howard Hull)
Newsgroups: comp.sys.amiga
Subject: A Terrain Viewer with 3d relief
Keywords: still a horrible mess, but now, voila! 3d relief
Message-ID: <805@hao.UCAR.EDU>
Date: 28 Jul 87 05:52:48 GMT
Distribution: na
Organization: High Altitude Obs./NCAR, Boulder CO
Lines: 836
Ok for you, you turkeys! I got ZERO, none, NO responses to my last plea
for devine GURU guidance, and ended up with only the essence of the GURU
for company. So, having _partially_ solved the dynamically allocated array
subroutine access problem, I am going to post here again, with "improvements".
This program (an essay, really, which is why it's posted here instead of
the comp sources group) presents the Gray terrain generator _compleat_ with
3d relief, and with clarified graphics mode options. Some day I will try,
what is it you call it, AllocMem? - and see if it does anything better than
calloc.
I will be brief this time. If you are inclined to reply, read the code and
see what it is I am complaining about. I am posting a .uue this time, too,
since the program does something that the Draco program doesn't (but easily
could be coaxed to do). When you fire this hummer up, be prepared to wait
30 seconds for it to generate the terrain after opening the screen. The
opening format will be 256 wide by 288 high (256 plus 32 for relief) and will
be on an interlaced screen. It is easily possible to configure it for 256 by
400 (384 plus 16 for relief), but there are some degradations of scale that
seem to happen when you do that. See instructions within the shar file.
Take apart the shar in the usual way. The compiler instructions are (this
time no typos) using 16-bit int Manx:
cc atv3d.c
cc enq.c
ln atv3d.o enq.o -lc
My circumstances are 512K Amiga 1000, Manx 3.40a patched to level c (if you
have any patches for your 3.40a at all, you are probably patched this far.
Personally, after finally being able to see what his program puts out, I think
Chris Gray is as much a genius as Slartibartfast. Nonetheless, be warned, if
you don't have about 200Kbytes of chip mem just wastefully sprawling about,
this program will silently bail out and all you'll get is your next prompt.
The next article posted will be the .uue file.
Good Luck...
Best Regards, Howard Hull
[If yet unproven concepts are outlawed in the range of discussion...
...Then only the deranged will discuss yet unproven concepts]
{ucbvax!hplabs | decvax!noao | mcvax!seismo | ihnp4!seismo} !hao!hull
for domain mailers: hull@hao.ucar.edu